class SportDescription {
  String? disciplineName;
  String? eventName;
  String? gender;
  String? subEventName;
  String? unitNum;

  SportDescription({
    this.disciplineName,
    this.eventName,
    this.gender,
    this.subEventName,
    this.unitNum,
  });

  factory SportDescription.fromJson(Map<String, dynamic> json) {
    return SportDescription(
      disciplineName: json['DisciplineName'] as String?,
      eventName: json['EventName'] as String?,
      gender: json['Gender'] as String?,
      subEventName: json['SubEventName'] as String?,
      unitNum: json['UnitNum'] as String?,
    );
  }

  Map<String, dynamic> toJson() => {
        'DisciplineName': disciplineName,
        'EventName': eventName,
        'Gender': gender,
        'SubEventName': subEventName,
        'UnitNum': unitNum,
      };
}
